package defs

type Err struct {
	Code string `json:"code"`
	Msg  string `json:"msg"`
}

type HttpErr struct {
	HttpSC int
	Error  Err
}

var (
	a = HttpErr{
		HttpSC: 400,
		Error: Err{
			Code: "001",
			Msg:  "Bad Request",
		},
	}
	b = HttpErr{
		HttpSC: 401,
		Error: Err{
			Code: "002",
			Msg:  "Bad Request",
		},
	}
)
